package dao;

import bean.Role;

import java.util.List;

public interface RoleDao {

    public List<Role> getRoleList(int pageIndex, Integer pageSize);

    public int total();


    public List<Role> getList();

    public int insert(Role role);

    public Role findById(int roleId);

    public int delete(int roleId);

    public int update(Role role);
}
